package com.example.wangyongdong.bearsqlitedemo.Interface;

import com.example.wangyongdong.bearsqlitedemo.entity.MoneyEntity;
import com.example.wangyongdong.bearsqlitedemo.entity.RecordEntity;

import java.util.List;

/**
 * Created by wangyongdong on 2017/4/14.
 */

public interface TableRecordOperation {

    void addRecord(RecordEntity record);
    void removeRecord(int id);
    void updateRecord(RecordEntity record);
    List<RecordEntity> queryCarAllRecord();
    List<RecordEntity> queryCarYearRecord();
    List<RecordEntity> queryCarHalfYearRecord();
    List<RecordEntity> queryCarThreeMonthRecord();
    List<MoneyEntity> queryEachYearMoney();
    List<MoneyEntity> queryEachMonthMoney();
}
